#ifndef BOOK_PARAGRAPH_BASE_H
#define BOOK_PARAGRAPH_BASE_H

#include <QSharedPointer>
#include <QList>

namespace Book {

namespace Paragraph {

class Visitor;

class Base
{
    public:

        virtual ~Base () {}

        virtual void Visit (Visitor& _visitor) const = 0;
};

typedef QSharedPointer<Base> SharedPtr;
typedef QList<Paragraph::SharedPtr> List;
typedef QListIterator<Paragraph::SharedPtr> ListIterator;

}

}

#endif // BOOK_PARAGRAPH_BASE_H
